package com.fh.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.utils.bean.CostomerID;
import com.utils.bean.Customer;
import com.utils.bean.CustomerPage;
import com.utils.bean.User;

import java.util.List;

/**
* @author Administrator
* @description 针对表【customer】的数据库操作Service
* @createDate 2023-05-10 10:40:28
*/
public interface CustomerService extends IService<Customer> {
    /**
     * @description: 查询账户名下的客服
     * @author whf
     * @date 2023/5/10 18:16
     * @param customerPage
     * @return java.util.List<com.utils.bean.Customer>
     */
    Page<Customer> getCustomer(CustomerPage customerPage);

    /**
     * @description: 如果是老板可以查询全部
     * @author whf
     * @date 2023/5/17 14:33
     * @param customerPage
     * @return com.baomidou.mybatisplus.extension.plugins.pagination.Page<com.utils.bean.User>
     */
    Page<Customer> getBoss(CustomerPage customerPage);
    /**
     * @description: 对他进行删除
     * @author whf
     * @date 2023/5/17 9:17
     * @param
     */
    void delCustomer(CostomerID costomerID);

    /**
     * @description: 删除一群人
     * @author whf
     * @date 2023/5/17 9:18
     * @param
     */
    void delCustomers(List<CostomerID> costomerIDS);

    /**
     * @description: 根据名字 性别之类的查询
     * @author whf
     * @date 2023/5/17 10:29
     * @param customer
     * @return java.util.List<com.utils.bean.Customer>
     */
    List<Customer> getCustomerIF(Customer customer);



}
